package com.huidz.calendar.model;

import java.util.List;

public class TianQiModel {

    private int code;
    private String msg;
    private DataBean data;
    private String url;
    private int wait;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public int getWait() {
        return wait;
    }

    public void setWait(int wait) {
        this.wait = wait;
    }

    public static class DataBean {

        private WeatherBean weather;
        private NwcontentBean nwcontent;
        private AirnowBean airnow;

        public WeatherBean getWeather() {
            return weather;
        }

        public void setWeather(WeatherBean weather) {
            this.weather = weather;
        }

        public NwcontentBean getNwcontent() {
            return nwcontent;
        }

        public void setNwcontent(NwcontentBean nwcontent) {
            this.nwcontent = nwcontent;
        }

        public AirnowBean getAirnow() {
            return airnow;
        }

        public void setAirnow(AirnowBean airnow) {
            this.airnow = airnow;
        }

        public static class WeatherBean {
            private List<ResultsBean> results;

            public List<ResultsBean> getResults() {
                return results;
            }

            public void setResults(List<ResultsBean> results) {
                this.results = results;
            }

            public static class ResultsBean {
                /**
                 * location : {"id":"WW96VH3U3KG5","name":"邢台","country":"CN","path":"邢台,邢台,河北,中国","timezone":"Asia/Shanghai","timezone_offset":"+08:00"}
                 * daily : [{"date":"2020-03-30","text_day":"多云","code_day":"4","text_night":"多云","code_night":"4","high":"17","low":"7","rainfall":"0.0","precip":"","wind_direction":"南","wind_direction_degree":"159","wind_speed":"25.20","wind_scale":"4","humidity":"54"},{"date":"2020-03-31","text_day":"多云","code_day":"4","text_night":"小雨","code_night":"13","high":"19","low":"7","rainfall":"0.0","precip":"","wind_direction":"东南","wind_direction_degree":"137","wind_speed":"16.20","wind_scale":"3","humidity":"78"},{"date":"2020-04-01","text_day":"小雨","code_day":"13","text_night":"小雨","code_night":"13","high":"11","low":"4","rainfall":"0.2","precip":"","wind_direction":"无持续风向","wind_direction_degree":"41","wind_speed":"25.20","wind_scale":"4","humidity":"62"}]
                 * last_update : 2020-03-30T07:43:50+08:00
                 */

                private LocationBean location;
                private String last_update;
                private List<DailyBean> daily;

                public LocationBean getLocation() {
                    return location;
                }

                public void setLocation(LocationBean location) {
                    this.location = location;
                }

                public String getLast_update() {
                    return last_update;
                }

                public void setLast_update(String last_update) {
                    this.last_update = last_update;
                }

                public List<DailyBean> getDaily() {
                    return daily;
                }

                public void setDaily(List<DailyBean> daily) {
                    this.daily = daily;
                }

                public static class LocationBean {

                    private String id;
                    private String name;
                    private String country;
                    private String path;
                    private String timezone;
                    private String timezone_offset;

                    public String getId() {
                        return id;
                    }

                    public void setId(String id) {
                        this.id = id;
                    }

                    public String getName() {
                        return name;
                    }

                    public void setName(String name) {
                        this.name = name;
                    }

                    public String getCountry() {
                        return country;
                    }

                    public void setCountry(String country) {
                        this.country = country;
                    }

                    public String getPath() {
                        return path;
                    }

                    public void setPath(String path) {
                        this.path = path;
                    }

                    public String getTimezone() {
                        return timezone;
                    }

                    public void setTimezone(String timezone) {
                        this.timezone = timezone;
                    }

                    public String getTimezone_offset() {
                        return timezone_offset;
                    }

                    public void setTimezone_offset(String timezone_offset) {
                        this.timezone_offset = timezone_offset;
                    }
                }

                public static class DailyBean {

                    private String date;
                    private String text_day;
                    private String code_day;
                    private String text_night;
                    private String code_night;
                    private String high;
                    private String low;
                    private String rainfall;
                    private String precip;
                    private String wind_direction;
                    private String wind_direction_degree;
                    private String wind_speed;
                    private String wind_scale;
                    private String humidity;

                    public String getDate() {
                        return date;
                    }

                    public void setDate(String date) {
                        this.date = date;
                    }

                    public String getText_day() {
                        return text_day;
                    }

                    public void setText_day(String text_day) {
                        this.text_day = text_day;
                    }

                    public String getCode_day() {
                        return code_day;
                    }

                    public void setCode_day(String code_day) {
                        this.code_day = code_day;
                    }

                    public String getText_night() {
                        return text_night;
                    }

                    public void setText_night(String text_night) {
                        this.text_night = text_night;
                    }

                    public String getCode_night() {
                        return code_night;
                    }

                    public void setCode_night(String code_night) {
                        this.code_night = code_night;
                    }

                    public String getHigh() {
                        return high;
                    }

                    public void setHigh(String high) {
                        this.high = high;
                    }

                    public String getLow() {
                        return low;
                    }

                    public void setLow(String low) {
                        this.low = low;
                    }

                    public String getRainfall() {
                        return rainfall;
                    }

                    public void setRainfall(String rainfall) {
                        this.rainfall = rainfall;
                    }

                    public String getPrecip() {
                        return precip;
                    }

                    public void setPrecip(String precip) {
                        this.precip = precip;
                    }

                    public String getWind_direction() {
                        return wind_direction;
                    }

                    public void setWind_direction(String wind_direction) {
                        this.wind_direction = wind_direction;
                    }

                    public String getWind_direction_degree() {
                        return wind_direction_degree;
                    }

                    public void setWind_direction_degree(String wind_direction_degree) {
                        this.wind_direction_degree = wind_direction_degree;
                    }

                    public String getWind_speed() {
                        return wind_speed;
                    }

                    public void setWind_speed(String wind_speed) {
                        this.wind_speed = wind_speed;
                    }

                    public String getWind_scale() {
                        return wind_scale;
                    }

                    public void setWind_scale(String wind_scale) {
                        this.wind_scale = wind_scale;
                    }

                    public String getHumidity() {
                        return humidity;
                    }

                    public void setHumidity(String humidity) {
                        this.humidity = humidity;
                    }
                }
            }
        }

        public static class NwcontentBean {
            private List<ResultsBeanX> results;

            public List<ResultsBeanX> getResults() {
                return results;
            }

            public void setResults(List<ResultsBeanX> results) {
                this.results = results;
            }

            public static class ResultsBeanX {
                /**
                 * location : {"id":"WW96VH3U3KG5","name":"邢台","country":"CN","path":"邢台,邢台,河北,中国","timezone":"Asia/Shanghai","timezone_offset":"+08:00"}
                 * now : {"text":"晴","code":"0","temperature":"14","feels_like":"13","pressure":"997","humidity":"49","visibility":"5.9","wind_direction":"东南","wind_direction_degree":"151","wind_speed":"14.76","wind_scale":"3","clouds":"0","dew_point":""}
                 * last_update : 2020-03-30T11:10:00+08:00
                 */

                private LocationBeanX location;
                private NowBean now;
                private String last_update;

                public LocationBeanX getLocation() {
                    return location;
                }

                public void setLocation(LocationBeanX location) {
                    this.location = location;
                }

                public NowBean getNow() {
                    return now;
                }

                public void setNow(NowBean now) {
                    this.now = now;
                }

                public String getLast_update() {
                    return last_update;
                }

                public void setLast_update(String last_update) {
                    this.last_update = last_update;
                }

                public static class LocationBeanX {
                    /**
                     * id : WW96VH3U3KG5
                     * name : 邢台
                     * country : CN
                     * path : 邢台,邢台,河北,中国
                     * timezone : Asia/Shanghai
                     * timezone_offset : +08:00
                     */

                    private String id;
                    private String name;
                    private String country;
                    private String path;
                    private String timezone;
                    private String timezone_offset;

                    public String getId() {
                        return id;
                    }

                    public void setId(String id) {
                        this.id = id;
                    }

                    public String getName() {
                        return name;
                    }

                    public void setName(String name) {
                        this.name = name;
                    }

                    public String getCountry() {
                        return country;
                    }

                    public void setCountry(String country) {
                        this.country = country;
                    }

                    public String getPath() {
                        return path;
                    }

                    public void setPath(String path) {
                        this.path = path;
                    }

                    public String getTimezone() {
                        return timezone;
                    }

                    public void setTimezone(String timezone) {
                        this.timezone = timezone;
                    }

                    public String getTimezone_offset() {
                        return timezone_offset;
                    }

                    public void setTimezone_offset(String timezone_offset) {
                        this.timezone_offset = timezone_offset;
                    }
                }

                public static class NowBean {
                    /**
                     * text : 晴
                     * code : 0
                     * temperature : 14
                     * feels_like : 13
                     * pressure : 997
                     * humidity : 49
                     * visibility : 5.9
                     * wind_direction : 东南
                     * wind_direction_degree : 151
                     * wind_speed : 14.76
                     * wind_scale : 3
                     * clouds : 0
                     * dew_point :
                     */

                    private String text;
                    private String code;
                    private String temperature;
                    private String feels_like;
                    private String pressure;
                    private String humidity;
                    private String visibility;
                    private String wind_direction;
                    private String wind_direction_degree;
                    private String wind_speed;
                    private String wind_scale;
                    private String clouds;
                    private String dew_point;

                    public String getText() {
                        return text;
                    }

                    public void setText(String text) {
                        this.text = text;
                    }

                    public String getCode() {
                        return code;
                    }

                    public void setCode(String code) {
                        this.code = code;
                    }

                    public String getTemperature() {
                        return temperature;
                    }

                    public void setTemperature(String temperature) {
                        this.temperature = temperature;
                    }

                    public String getFeels_like() {
                        return feels_like;
                    }

                    public void setFeels_like(String feels_like) {
                        this.feels_like = feels_like;
                    }

                    public String getPressure() {
                        return pressure;
                    }

                    public void setPressure(String pressure) {
                        this.pressure = pressure;
                    }

                    public String getHumidity() {
                        return humidity;
                    }

                    public void setHumidity(String humidity) {
                        this.humidity = humidity;
                    }

                    public String getVisibility() {
                        return visibility;
                    }

                    public void setVisibility(String visibility) {
                        this.visibility = visibility;
                    }

                    public String getWind_direction() {
                        return wind_direction;
                    }

                    public void setWind_direction(String wind_direction) {
                        this.wind_direction = wind_direction;
                    }

                    public String getWind_direction_degree() {
                        return wind_direction_degree;
                    }

                    public void setWind_direction_degree(String wind_direction_degree) {
                        this.wind_direction_degree = wind_direction_degree;
                    }

                    public String getWind_speed() {
                        return wind_speed;
                    }

                    public void setWind_speed(String wind_speed) {
                        this.wind_speed = wind_speed;
                    }

                    public String getWind_scale() {
                        return wind_scale;
                    }

                    public void setWind_scale(String wind_scale) {
                        this.wind_scale = wind_scale;
                    }

                    public String getClouds() {
                        return clouds;
                    }

                    public void setClouds(String clouds) {
                        this.clouds = clouds;
                    }

                    public String getDew_point() {
                        return dew_point;
                    }

                    public void setDew_point(String dew_point) {
                        this.dew_point = dew_point;
                    }
                }
            }
        }

        public static class AirnowBean {
            private List<ResultsBeanXX> results;

            public List<ResultsBeanXX> getResults() {
                return results;
            }

            public void setResults(List<ResultsBeanXX> results) {
                this.results = results;
            }

            public static class ResultsBeanXX {
                /**
                 * location : {"id":"WW96VH3U3KG5","name":"邢台","country":"CN","path":"邢台,邢台,河北,中国","timezone":"Asia/Shanghai","timezone_offset":"+08:00"}
                 * air : {"city":{"aqi":"97","pm25":"72","pm10":"114","so2":"32","no2":"46","co":"1.650","o3":"20","primary_pollutant":"PM2.5","last_update":"2020-03-30T10:00:00+08:00","quality":"良"},"stations":null}
                 * last_update : 2020-03-30T10:00:00+08:00
                 */

                private LocationBeanXX location;
                private AirBean air;
                private String last_update;

                public LocationBeanXX getLocation() {
                    return location;
                }

                public void setLocation(LocationBeanXX location) {
                    this.location = location;
                }

                public AirBean getAir() {
                    return air;
                }

                public void setAir(AirBean air) {
                    this.air = air;
                }

                public String getLast_update() {
                    return last_update;
                }

                public void setLast_update(String last_update) {
                    this.last_update = last_update;
                }

                public static class LocationBeanXX {
                    /**
                     * id : WW96VH3U3KG5
                     * name : 邢台
                     * country : CN
                     * path : 邢台,邢台,河北,中国
                     * timezone : Asia/Shanghai
                     * timezone_offset : +08:00
                     */

                    private String id;
                    private String name;
                    private String country;
                    private String path;
                    private String timezone;
                    private String timezone_offset;

                    public String getId() {
                        return id;
                    }

                    public void setId(String id) {
                        this.id = id;
                    }

                    public String getName() {
                        return name;
                    }

                    public void setName(String name) {
                        this.name = name;
                    }

                    public String getCountry() {
                        return country;
                    }

                    public void setCountry(String country) {
                        this.country = country;
                    }

                    public String getPath() {
                        return path;
                    }

                    public void setPath(String path) {
                        this.path = path;
                    }

                    public String getTimezone() {
                        return timezone;
                    }

                    public void setTimezone(String timezone) {
                        this.timezone = timezone;
                    }

                    public String getTimezone_offset() {
                        return timezone_offset;
                    }

                    public void setTimezone_offset(String timezone_offset) {
                        this.timezone_offset = timezone_offset;
                    }
                }

                public static class AirBean {
                    /**
                     * city : {"aqi":"97","pm25":"72","pm10":"114","so2":"32","no2":"46","co":"1.650","o3":"20","primary_pollutant":"PM2.5","last_update":"2020-03-30T10:00:00+08:00","quality":"良"}
                     * stations : null
                     */

                    private CityBean city;
                    private Object stations;

                    public CityBean getCity() {
                        return city;
                    }

                    public void setCity(CityBean city) {
                        this.city = city;
                    }

                    public Object getStations() {
                        return stations;
                    }

                    public void setStations(Object stations) {
                        this.stations = stations;
                    }

                    public static class CityBean {
                        /**
                         * aqi : 97
                         * pm25 : 72
                         * pm10 : 114
                         * so2 : 32
                         * no2 : 46
                         * co : 1.650
                         * o3 : 20
                         * primary_pollutant : PM2.5
                         * last_update : 2020-03-30T10:00:00+08:00
                         * quality : 良
                         */

                        private String aqi;
                        private String pm25;
                        private String pm10;
                        private String so2;
                        private String no2;
                        private String co;
                        private String o3;
                        private String primary_pollutant;
                        private String last_update;
                        private String quality;

                        public String getAqi() {
                            return aqi;
                        }

                        public void setAqi(String aqi) {
                            this.aqi = aqi;
                        }

                        public String getPm25() {
                            return pm25;
                        }

                        public void setPm25(String pm25) {
                            this.pm25 = pm25;
                        }

                        public String getPm10() {
                            return pm10;
                        }

                        public void setPm10(String pm10) {
                            this.pm10 = pm10;
                        }

                        public String getSo2() {
                            return so2;
                        }

                        public void setSo2(String so2) {
                            this.so2 = so2;
                        }

                        public String getNo2() {
                            return no2;
                        }

                        public void setNo2(String no2) {
                            this.no2 = no2;
                        }

                        public String getCo() {
                            return co;
                        }

                        public void setCo(String co) {
                            this.co = co;
                        }

                        public String getO3() {
                            return o3;
                        }

                        public void setO3(String o3) {
                            this.o3 = o3;
                        }

                        public String getPrimary_pollutant() {
                            return primary_pollutant;
                        }

                        public void setPrimary_pollutant(String primary_pollutant) {
                            this.primary_pollutant = primary_pollutant;
                        }

                        public String getLast_update() {
                            return last_update;
                        }

                        public void setLast_update(String last_update) {
                            this.last_update = last_update;
                        }

                        public String getQuality() {
                            return quality;
                        }

                        public void setQuality(String quality) {
                            this.quality = quality;
                        }
                    }
                }
            }
        }
    }
}
